<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>par_ui: /home/wouter/ros_packages/thp-pj2-08/par_ui/src/test.cpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>

<table border="0">
<tr><td valign="top" style="border-right: 1px solid #333; padding-right: 10px;" >
<p>
Project: <a href="http://ros.org/wiki/par_ui">par_ui</a>
</p>
<p>
License: BSD
</p>
<p>
Dependencies: 
<ul>
  <li>std_msgs</li>
  <li>roscpp</li>
  <li>par_kinematics</li>
  <li>par_trajectory_planning</li>
  <li>tinyxml</li>
</ul>
</p>
<p>
Used by:
None<br />
</p>
<p>
<a href="../../index.html">All Packages</a>
</p>

</div>
</td><td valign="top" style="padding-left: 10px;" >
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>/home/wouter/ros_packages/thp-pj2-08/par_ui/src/test.cpp</h1>  </div>
</div>
<div class="contents">
<a href="test_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;cstdio&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;cstdlib&gt;</span>
<a name="l00004"></a>00004 
<a name="l00005"></a><a class="code" href="test_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">00005</a> <span class="keywordtype">int</span> <a class="code" href="par__ui_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>()
<a name="l00006"></a>00006 {
<a name="l00007"></a>00007         <span class="keywordtype">int</span> x;
<a name="l00008"></a>00008         std::cin &gt;&gt; x;
<a name="l00009"></a>00009         printf(<span class="stringliteral">&quot;UP: %x\n&quot;</span>, 0xFFFF &amp; x);
<a name="l00010"></a>00010         printf(<span class="stringliteral">&quot;LO: %x\n&quot;</span>, 0xFFFF &amp; (x &gt;&gt; 16));
<a name="l00011"></a>00011 
<a name="l00012"></a>00012         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k;
<a name="l00013"></a>00013         std::string in;
<a name="l00014"></a>00014         std::cin &gt;&gt; in;
<a name="l00015"></a>00015         k = atoi( in.c_str() );
<a name="l00016"></a>00016         std::cout &lt;&lt; <span class="stringliteral">&quot;k: &quot;</span> &lt;&lt; k &lt;&lt; std::endl;
<a name="l00017"></a>00017 
<a name="l00018"></a>00018         <span class="keywordflow">return</span> 0;
<a name="l00019"></a>00019 }
</pre></div></div>
</div>
</td></tr></table>

<hr size="1"><div style="align: right;">
<a href="http://ros.org/wiki/par_ui">par_ui</a><br />
Author(s): Wouter van Teijlingen</br />
<small>autogenerated on Wed Jun 8 2011 17:11:24</small>
</div>
</body>
</html>
